package com.xialj.demoend.service;

import com.xialj.demoend.common.Result;
import com.xialj.demoend.entity.User;
import com.xialj.demoend.entity.UserExport;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author xlj
 * @Date Created in  2023/2/24 13:25
 * @DESCRIPTION:  接口
 * @Version V1.0
 */

@Service
@SuppressWarnings("all")
public interface UserService {
    Result allUserMessage(User user);

    int deleteUserMessageById(String id);

    int insertOrUpdateUserMessage(User user);

    int deleteUserMessageByIds(List<String> ids);

    List<UserExport> getAllUsers();

    void saveAll(List<User> userList);
}
